package com.example.aicooking.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("image_records")
public class ImageRecord {
    @TableId(type = IdType.AUTO)
    private Long id;

    private String userId;
    private String uploadFileId;
    private String appId;
    private String query;
    private String response;
    private Integer status;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;  // 注意这里是createTime而不是createAt
}
